﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using Microsoft.CloudSaver.Web.Infrastructure;

namespace Microsoft.CloudSaver.Web
{
    public partial class Error : LocalizedPage
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            var ex = Server.GetLastError();
            exName.Text = string.Format("{0} - {1}", ex.GetType().Name, ex.Message);
            exBody.Text = ex.StackTrace;
        }
    }
}